package com.zjs.express.dao;

import com.zjs.express.bean.Express;
import com.zjs.express.bean.vo.ExpressCountVo;
import com.zjs.express.common.ResultModel;

import java.util.List;

public interface ExpressDao {

    ExpressCountVo statistics();

    List<Express> list(Integer pageIndex, Integer pageSize);

    Integer getTotal();

    boolean add(Express express);

    boolean update(Express express);

    Express listByNumber(String number);
}
